#!/bin/bash

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${SCRIPT_DIR}"

REPO_ROOT="$(git rev-parse --show-toplevel)"
cd "${REPO_ROOT}"

echo "$@"

# venv activate
source "${REPO_ROOT}/venv/bin/activate"
cd python

# This is important to specify to use flow.
export TZ=UTC

./pyrunner coin/support/feed_tool/feed_stats/app/feed_stats_checker.py "$@"

deactivate
